Skip to content

Let a user's global tap-to-click replace the Mac's default - #665

Merged
maralcbr merged 2 commits into
quattro-upstreamfrom
mac/128-apple-tap-global
Sep 28, 2026
Merged

maralcbr merged 2 commits into
quattro-upstreamfrom
mac/128-apple-tap-global

Conversation

@maralcbr

Copy link
Copy Markdown
Member

Follow-up to #654. In Hyprland 0.56, an hl.device value takes priority over the global input:touchpad value whatever order they load in. The Mac's per-device tap_to_click = false therefore blocked a user's own global tap_to_click = true.

settings/apple.lua now sets hl.config({ input = { touchpad = { tap_to_click = false } } }), still behind the Apple check. It is loaded before the user's files on both layouts, so their global value replaces it. The accepted trade-off: an external touchpad plugged into a Mac also starts with tapping off. workspace_swipe_use_r is unchanged. The comment, the README and the Mac manual follow the rule: hl.config for anything a user sets globally, hl.device only for what applies to that device alone. The manual gives the line to turn tapping back on.

Tested in an Arch container (aarch64), on this branch and with OMARCHY_TEST_RUNTIME set to omacom#13362 b0d870c (settings slot):

  • apple-platform-hooks-test.sh: tapping is set off once, globally, with no per-device value. Where the settings slot exists, it comes after Omarchy's defaults, and the user's global true comes after it. The test fails on the old per-device lines.
  • The gesture, platform-defaults, manual and input-default tests pass, as does packages/omarchy-mac/test/all.

Hyprland gives an hl.device value priority over the global input:touchpad one
whatever the load order, so the Mac's per-device tap_to_click = false kept a
user's own global tap_to_click = true from working. The Mac now sets it
globally with hl.config, as anything a user may set globally should be, so
theirs replaces it. An external touchpad on a Mac starts with tapping off too.
@maralcbr
maralcbr merged commit 8d78b8c into quattro-upstream Sep 28, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant